/**
 * Created by baowei on 2018/10/17.
 */
import Request from "../../../../utils/request.js";
export default class {
  // 获取验证码
  static getVerifyCode(params) {
    return Request({
      url: `app/captche/sendSms/${params}`,
      type: "GET",
      headers: {
        "Content-type": "application/json"
      },
    })
  }
  // 获取验证码
  static updatePhone(params) {
    return Request({
      url: 'app/user/updatePhone',
      type: "POST",
      data: params,
      headers: {
        "Content-type": "application/json"
      },
    })
  }
}
